package com.longshihan.module_sample.huazhu.mvp.model.entity

import java.io.Serializable
import java.util.HashMap

/**
 * Created by LONGHE001.
 *
 * @time 2017/11/21 0021
 * @des
 * @function
 */

class AppEntity : Serializable {

    /**
     * 服务器地址
     */
    var appUrl: String? = null
    /**
     * 提示更新相关参数
     */
    var appUpdateUrl: String? = null
    var ForcedUpdates: Boolean = false
    var updateInfo: String? = null

    /**
     * 表示调用的接口地址
     */
    var ApiUrl: String? = null
    /**
     * 表示调用的版本号，版本号不匹配时表示需要本地更新缓存
     */
    var ApiVersion: String? = null

    /**
     * 待更新的versionCode(暂时无用)
     */
    var newVersionCode: String? = null
    /**
     * 设置界面相关链接url
     */
    var APPRAISE_URL: String? = null
    var APP_RECOMMAND_URL: String? = null
    var BD_URL: String? = null

    /**
     * 在线体验官
     */
    var OEOURL: String? = null

    /**
     * WIFI小贴士URL
     */
    var WIFITipsURL: String? = null

    /**
     * 华住服务协议
     */
    var HuaZhuProtocol: String? = null

    /**
     * 打车
     */
    var TAXI_URL: String? = null

    /**
     * 火车
     */
    var TRAIN_URL: String? = null

    /**
     * 选择枕头URL
     */
    var canChosePillow: String? = null

    /**
     * 京东畅读卡链接
     */
    var jdReadCardUrl: String? = null

    /**
     * 酒店详情浏览枕头的链接
     */
    var hotelServiceUrl: String? = null

    /**
     * 酒店详情浏览枕头的位置
     */
    var hotel_XY_pos: String? = null

    /**
     * 支付宝下载地址
     */
    var ALIPAY_APK: String? = null

    /**
     * h5需要自动登录的前缀
     */
    var AUTO_LOGIN_PAGE: String? = null

    /**
     * 广告图片
     */
    var prePicture: String? = null

    /**
     * 二维码扫描黑名单
     */
    var QRC_BLACKLIST: String? = null

    /**
     * 积分转赠开关
     */
    var Point_Donation: Boolean = false

    /**
     * 时租房开始结束时间(时) exp: 8|20  表示8点到20点
     */
    var RENTROOM_PROMTIONTIME: String? = null

    /**
     * 是否开启517机票 1使用,0不使用
     */
    var na517: String? = null

    /**
     * 是否支持宜必思酒店 1使用,0不使用
     */
    var yiBiSi: String? = null

    /**
     * 首次打开APP登录提示文案
     */
    var FirstVisitContent: String? = null

    /**
     * 首页品牌
     */
    var HomeBrandImgMore: String? = null
    var IsShowTitle_HomeBrandImgMore: String? = null


    var IsOpenUseCarTip: String? = null//“1”  打开出行页用车标签   其他值  关闭
    var IsOpenSecialCarTip: String? = null//“1”  打开出行页专车标签   其他值  关闭
    var IsOpenPreLoad: String? = null//“1”  打开出预加载标签   其他值  关闭
    /**
     * 在线反馈链接
     */
    var feedbackOnline: String? = null

    /**
     * 推荐好友
     */
    var recommendFriendUrl: String? = null
    /**
     * 华住钱包储值卡充值 首页提示语
     */
    var InvoiceInfoIndexText: String? = null
    /**
     * 华住钱包储值卡充值 内部提示语
     */
    var InvoiceInfoDetailText: String? = null

    var barcodeUrl: String? = null//支付码配置
    var isShowBarcode: Int = 0//进入条形码界面控制，1就是能够进去，0就是不能进去

    var salesPromotionUrl: String? = null//促销活动(地区)
    var scheduledSuccessUrl: String? = null//预定成功页Key
    var scheduledSuccessKey: Int = 0//预定成功页开关,0表示关，1表示开

    var CenterBanner: RecommendBannerInfo? = null

    var WeixinPayTip: String? = null

    //信用住
    var IsAliCreditLiveEnable: String? = null //是否开启信用住
    var AliCreditLiveHelpUrl: String? = null //点击阿里信用住问号时的URL
    var AliCreditLiveNotes1: String? = null //信用住身份确认须知
    var AliCreditLiveNotes2: String? = null //信用住身份确认条件
    var AliCreditLiveNotes3: String? = null //信用住身份确认规则
    var AliCreditLiveBanner1: String? = null  //Banner1：身份确认页
    var AliCreditLiveBanner2: String? = null  //Banner2：授权成功
    var AliCreditLiveBanner3: String? = null  //Banner3：授权失败
    var CompensateText: String? = null//官网最低赔付承诺显示文字
    var CompensateUrl: String? = null//官网最低赔付承诺指向的链接

    var HmallOrderUrl: String? = null //华住商城订单url

    var OrderPayDeaultAssureType: String? = null //A:首夜担保 B:全额担保 ※注意，间夜数为1的订单，请传B

    var IsScanCodeEnable: Boolean = false

    var IsPaymentCodeEnable: Boolean = false
    /**
     * "储值卡"右上角的红色提示文案
     */
    var CardRechargeText: String? = null
    /**
     * 收银台储值金额小于订单金额时弹出的文案
     */
    var CardPayTextInfo: String? = null
    /**
     * 服务器时间，格式：2016-07-04 05:12:29
     */
    var CurrentServiceTime: String? = null
    /**
     * 行程助手添加入住信息按钮的跳转地址
     */
    var AddSenirioH5Url: String? = null

    var InvoiceInfoCautionText: String? = null//发票开票信息描述

    var WifiPortal: String? = null//wifiportal连接获取hotelID

    var WifiPortalSpecialUrl: String? = null //一键上网成功后登记用户mac、hotelid等信息

    var InjectJS: HashMap<String, String>? = null //键是域名，值是需要注入的js

    var ShowNoticePushSwitch: Boolean = false //是否显示设置中，消息推送开关的入口

    var AIServantUrl: String? = null //智能客服url

    var IsCanAIServant: Boolean? = null //是否开启智能客服

    var FlightHost: String? = null //飞机票ip地址


    var prePictureClick: String? = null//广告页面可以跳转的链接

    var OtherOrders: String? = null//其他订单


    var ScanQRCodeText: String? = null //华住钱包扫一扫右上角提醒

    var NewAutoCheckInHotelId: String? = null//新版自助选房白名单，半角逗号分割，等于*时全开放

    var HotelListMode_101: String? = null //酒店预订 original、newbig、newsmall
    var HotelListMode_102: String? = null //严选好店
    var HotelListMode_103: String? = null //专找实惠
    var HotelListMode_104: String? = null //无忧时租
    var HotelListMode_106: String? = null //全球酒店

    var ThumbDomainList: String? = null //只有当域名在白名单内的图片才可使用切割功能，不在白名单内的域名使用图片的原地址

    companion object {

        /**
         *
         */
        private const val serialVersionUID = 6632957471093682661L

        private val entity: AppEntity? = null
    }

}
